package com.asman.vr.network

import com.asman.vr.dto.BaseRes
import com.asman.vr.dto.ProjectDrawingListData
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Query

/**
 * @author ybk
 * @date :2020-02-11 21:48
 * @desc: 小牛师傅 的接口
 */
interface ApiWorker {

    /**
     * 施工图纸
     */
    @GET("admin/project/get_construction_list")
    fun getDrawingList(@Query("projectId") projectId: Long): Call<BaseRes<List<ProjectDrawingListData>>>

    /**
     * 选择租户企业
     * @param enterpriseId 租户id
     */
    @POST("admin/user/login/chooseEnterprise")
    fun chooseEnterprise(@Query("enterpriseId") enterpriseId: Long): Call<BaseRes<Any>>

}